package com.itguigu.project.ai.service;

import dev.langchain4j.service.MemoryId;
import dev.langchain4j.service.SystemMessage;
import dev.langchain4j.service.UserMessage;
import dev.langchain4j.service.V;
import dev.langchain4j.service.spring.AiService;
import dev.langchain4j.service.spring.AiServiceWiringMode;


/**
 * @author lxr
 * @date 2025/11/10 11:17
 */
@AiService(wiringMode = AiServiceWiringMode.EXPLICIT,chatModel = "qwenChatModel",chatMemoryProvider = "chatMemoryProvider",tools = "appointmentTools")
public interface InterpreterService {

    @SystemMessage(fromResource = "my-prompt-template.txt")
    public String chat(@MemoryId Long memoryId , @UserMessage String userMessage, @V("current_date") String date);

}
